import httpInstance from "@/utils/http";
//获取订单信息
export const getCheckoutApi = () => {
  return httpInstance({
    url: '/member/order/pre',
  })
}
// 创建订单
export const createOrderApi = (data) => {
  return httpInstance({
    url: '/member/order',
    method: 'POST',
    data
  })
}